package day13_Io.demo01_file;

import java.io.File;
import java.io.IOException;

public class 创建删除项 {
    public static void main(String[] args) throws IOException {
        File file = new File("E:\\csw\\Demo\\a");
        file.mkdirs();
        File file1 = new File("E:\\csw\\Demo\\a\\b");
        file1.mkdirs();
        File file2 = new File("E:\\csw\\Demo\\a\\c.txt");
        file2.createNewFile();
        File file3 = new File("E:\\csw\\Demo\\a\\b\\d.txt");
        file3.createNewFile();
        File file4 = new File("E:\\csw\\Demo\\copy");
        file4.mkdirs();
    }
}
